package com.ipet.order.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.List;

@TableName("tb_order")
@Data
public class Order {
    @TableId(type = IdType.AUTO)
    private String  orderId;
    private String totalPay;
    private String actualPay;
    private Integer paymentType;
    private Integer postFee;
    private String createTime;
    private String userId;
    @TableField(exist = false)
    private List<OrderDetail> orderDetail;
    @TableField(exist = false)
    private OrderStatus orderStatus;
}
